package com.paddyi.model;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 *  (Stock)
 * @author paddy
 * @since  2019-08-09 12:00:53
 */
@ApiModel(value="Stock对象", description="")
public class Stock implements Serializable {

    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "")
	private Long id;
	@ApiModelProperty(value = "产品ID")
	private Long productId;
	@ApiModelProperty(value = "总库存")
	private Integer totalStock;
	@ApiModelProperty(value = "锁定库存")
	private Integer lockStock;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public Integer getTotalStock() {
		return totalStock;
	}

	public void setTotalStock(Integer totalStock) {
		this.totalStock = totalStock;
	}

	public Integer getLockStock() {
		return lockStock;
	}

	public void setLockStock(Integer lockStock) {
		this.lockStock = lockStock;
	}

}